<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
 <base href="<%=basePath%>">
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
td{text-align: center;height:50px;border:1px solid white;}
a{text-decoration: none;color:red;font-weight: bold;}
td{background-color: #ececec;}
.one{background-color: rgb(100,162,189);color:white;}
button{background-color: rgb(100,162,189);color:white;border:0xp;margin-left: 70px;height:30px;border:1px solid white;}
table{width:80%;margin: 0 auto;}
</style>
</head>
<body>
<table cellpadding="0" cellspacing="0" >
<tr><td class="one">动物名称</td><td>救助人</td><td>用户电话</td><td>用户地址</td><td>申请时间</td></tr>
<c:forEach items="${list}" var="adminorder">
<Tr>
      <td class="one">${adminorder.orderinfo}次</td>
      <td>${adminorder.realname}</td>
      <td>${adminorder.userphone}</td>
        <td>${adminorder.useraddress}</td>
      <td>${adminorder.orderdate}</td>
</Tr>
</c:forEach>
</table>
<a href="updatepetOrder" style="width:100px;height:30px;line-height:30px;margin-left: 60px;"><button style="width:100px;">同意救助</button></a>
<h1 style="color:red;">${mess}</h1>
</body>
</html>